﻿using CloudMusic.Helper;
using CloudMusic.Model;
using DMSkin.Core.MVVM;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;

namespace CloudMusic.ViewModel
{
    /// <summary>
    /// 发现音乐viewmodel
    /// </summary>
    public class PageFindMusicViewModel : MusicViewModelBase
    {
        private int colums;
        private int margin;
        private string week;
        private string date;
        private int boutColuns;
        private int globalColuns;
        private int singerColums;
        public PageFindMusicViewModel()
        {
            Colums = 4;
            margin = 15;
            boutColuns = 2;
            GlobalColuns = 5;
            SingerColums = 5;
            Date =DateTimeHelper.GetDays();
            Week = DateTimeHelper.GetWeek();
        }
        public int Colums
        {
            get { return colums; }
            set { colums = value; OnPropertyChanged("Colums"); }
        }
        public int SingerColums
        {
            get { return singerColums; }
            set { singerColums = value; OnPropertyChanged("SingerColums"); }
        }
        
        public int GlobalColuns
        {
            get { return globalColuns; }
            set { globalColuns = value; OnPropertyChanged("GlobalColuns"); }
        }
        public int BoutColuns
        {
            get { return boutColuns; }
            set { boutColuns = value; OnPropertyChanged("BoutColuns"); }
        }
        public int LableMargin
        {
            get { return margin; }
            set { margin = value; OnPropertyChanged("LableMargin"); }
        }
        public string Week
        {
            get { return week; }
            set { week = value;OnPropertyChanged("Week"); }
        }
        public string Date
        {
            get { return date; }
            set { date = value; OnPropertyChanged("Date"); }
        }
    }
}
